package cem.agony.model;

public class Sponsor
{
    private final String name;
    private double flatRate = 0.0;
    private double perMile = 0.0;

    public Sponsor( String name )
    {
        this.name = name;
    }

    public void setFlatRateAmount( double flatRate )
    {
        this.flatRate = flatRate;
    }

    public void setPerMileAmount( double perMile )
    {
        this.perMile = perMile;
    }

    public double getFlatRateAmount()
    {
        return flatRate;
    }

    public double getPerMileAmount()
    {
        return perMile;
    }

    public String getName()
    {
        return name;
    }
}